﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucHomeArticle.ascx.cs"
    Inherits="SES.CMS.Module.ucHomeArticle" %>
<div class="news-homepage">
    <div class="lastest-new">
        <h2>
            Tin tức mới nhất</h2>
        <ul class="news-homepage-other">
            <asp:Repeater runat="server" ID="rptLastestNews">
                <ItemTemplate>
                    <li>
                        <p class="lastest-title">
                            <a href='/Article/<%#Eval("ArticleID")%>/<%#FriendlyUrl(Eval("Title").ToString())%>'
                                title='<%#Eval("Title") %>'>
                                <%#Eval("Title") %></a>
                        </p>
                        <p class="lastest-desc">
                            <%#WordCut(Eval("Description").ToString())%>
                        </p>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <div class="home-cate-new">
        <h2>
            <asp:Literal runat="server" ID="ltrHomeCate"></asp:Literal>
        </h2>
        <ul class="news-homepage-other">
            <asp:Repeater runat="server" ID="rptHomeCateNews">
                <ItemTemplate>
                    <li>
                        <p class="lastest-title">
                            <a href='/Article/<%#Eval("ArticleID")%>/<%#FriendlyUrl(Eval("Title").ToString())%>'
                                title='<%#Eval("Title") %>'>
                                <%#Eval("Title") %></a>
                        </p>
                        <p class="lastest-desc">
                            <%#WordCut(Eval("Description").ToString()) %>
                        </p>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
</div>
